package com.xuanxu.blogs.module.user.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xuanxu.blogs.framework.mybatisplus.core.entity.DataBase;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户数据库对应实体对象
 * @author XuanXu
 * @version 1.0
 * @date 2024-08-19 14:04
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class User extends DataBase {
    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;
    private String userAvatar;
    private String userNickname;
    private String username;
    private String password;
    private Long userUpvoteNumber;
    private Integer userStatus;
    private Integer userType;
}
